Linear switch device